package com.bdqn.service.imp;

import com.bdqn.bean.course.Section;
import com.bdqn.dao.ISectionDao;
import com.bdqn.service.ISectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 忍
 * @title: SectionServiceImpl
 * @projectName Teaching
 * @description: TODO
 * @date 2019/7/114:24
 */
@Service
public class SectionServiceImpl implements ISectionService {
    @Qualifier("ISectionDao")
    @Autowired
    ISectionDao sectionDao;

    @Override
    public List<Section> getSectionByMinutiaId(Integer courseId) {
        return sectionDao.getSectionByMinutiaId(courseId);
    }
}
